package com.plusapps.inkwang;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import com.plusapps.inkwang.model.RSSItem;

public class ColumnDetailActivity extends Activity {

	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.column_detail);

        RSSItem column = (RSSItem) getIntent().getExtras().getSerializable("column");
        
        TextView titleView = (TextView)findViewById(R.id.column_detail_title);
        TextView pubDateView = (TextView)findViewById(R.id.column_detail_pub_date);
        TextView contentView = (TextView)findViewById(R.id.column_detail_content);
        
        titleView.setText(column.getTitle());
        pubDateView.setText(column.getPubDate());
        contentView.setText(column.getContent());

    }
    

}
